//package com.shopping.huaju.commodity.web.controller;
//
//import com.shopping.huaju.commodity.entity.SkuInfoEntity;
//import com.shopping.huaju.commodity.entity.vo.SearchResultVO;
//import com.shopping.huaju.commodity.service.SkuInfoService;
//import com.shopping.huaju.common.utils.PageUtils;
//import org.springframework.stereotype.Controller;
//import org.springframework.ui.Model;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
//import javax.annotation.Resource;
//import java.util.ArrayList;
//import java.util.List;
//import java.util.Map;
//
//@Controller
//public class SearchController {
//    @Resource
//    private SkuInfoService skuInfoService;
//    /**
//     * 前台检索列表
//     * 将页面提交过来的所有请求参数封装成指定的对象
//     * @return
//     */
//    @RequestMapping("/list.html")
//    public String searchList(@RequestParam Map<String, Object> params, Model model) {
//        SearchResultVO searchResult = skuInfoService.searchSkuInfosInPage(params);
//        model.addAttribute("result",searchResult);
//        return "list";
//    }
//}
